package br.com.wssa.email.dto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;

/**
 * EmailDTO
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EmailDTO", namespace = "email")
public class EmailDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	private String assunto = "";
	private List<AnexoDTO> anexoDTO = new ArrayList<AnexoDTO>();
	private List<HeaderDTO> headers = new ArrayList<HeaderDTO>();
	private String remetente = "";
	private String template = "";
	private List<String> destinatarios = new ArrayList<String>();
	private List<String> destinatariosCC = new ArrayList<String>();
	private List<String> destinatariosCCO = new ArrayList<String>();

	public String getAssunto() {
		return assunto;
	}

	public void setAssunto(String assunto) {
		this.assunto = assunto;
	}

	public List<AnexoDTO> getAnexo() {
		return anexoDTO;
	}

	public void setAnexo(List<AnexoDTO> anexoDTO) {
		this.anexoDTO = anexoDTO;
	}

	public List<HeaderDTO> getHeaders() {
		if (headers == null) {
			headers = new ArrayList<HeaderDTO>();
		}
		return headers;
	}

	public void setHeaders(List<HeaderDTO> headers) {
		this.headers = headers;
	}

	public String getRemetente() {
		return remetente;
	}

	public void setRemetente(String remetente) {
		this.remetente = remetente;
	}

	public List<String> getDestinatarios() {
		return destinatarios;
	}

	public void setDestinatarios(List<String> destinatarios) {
		this.destinatarios = destinatarios;
	}

	public String getTemplate() {
		return template;
	}

	public void setTemplate(String template) {
		this.template = template;
	}

	public List<String> getDestinatariosCC() {
		return destinatariosCC;
	}

	public void setDestinatariosCC(List<String> destinatariosCC) {
		this.destinatariosCC = destinatariosCC;
	}

	public List<String> getDestinatariosCCO() {
		return destinatariosCCO;
	}

	public void setDestinatariosCCO(List<String> destinatariosCCO) {
		this.destinatariosCCO = destinatariosCCO;
	}
}